package com.kgc.dao;

import com.kgc.entity.Classes;
import com.kgc.entity.Faqs;

import java.util.List;
import java.util.Map;

public interface FaqsDao {
    List<Faqs> listFaqs(Map<String,Object> map);
    List<Classes>listClasses();
    int insert(Faqs faqs);
    Faqs select(int id);
    int count(String title);
    int countByName(String name);
}
